home *** CD-ROM | disk | FTP | other *** search
/ BCI NET / BCI NET Dec 94.iso / archives / programming / blitzbasic / blitz-list200994.lha / blitz-list / text0494.txt < prev    next >
Encoding:
Text File  |  1994-09-20  |  1.0 KB  |  33 lines

  1.  
  2.  
  3. On Tue, 19 Jul 1994, Mark Kuzmycz wrote:
  4.  
  5. > >>
  6. > >>What's the maximum length of a string? I can't find it in the 
  7. > >>books....
  8. > >
  9. > >Sorry if you've already found this out but:
  10. > >
  11. > >    Blitz stores a longword string length before every string in memory.  I
  12. > >assume therefore that the max length is going to be 2^32.
  13. > The maximum length of a string is defined in the compiler options (resources).
  14. > It should be about 10024 (That's what mine is anyway).
  15. > Mark.
  16. No not quite right, that is the workspace size, you can maxlen strings to 
  17. any size you want, however if you are going to manipulate them I suppose 
  18. yes your workspace should be set to as big as the biggest string + 
  19. biggest string you will be using.
  20. I think the bank lib should be expanded for handling largfe files etc, 
  21. does anyone know the basics of virtual memory, we could then open a bank 
  22. and allocate the file to it and then you could manipulate it with the 
  23. string commands but never have to worry about running out of memory, 
  24. Would this be of use to people?
  25.  
  26.  
  27.  
  28.